﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="WebAvalon.View.Index" %>

<!DOCTYPE html>
<%--这个页面主要是初步了解avalon--%>
<html xmlns="http://www.w3.org/1999/xhtml">
    <style>
        .ms-controller {
            display: none;
        }
    </style>
<head >
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    
</head>
<body>
    <div ms-controller="for0" class="ms-controller">
        <p>
            <input ms-duplex='@text' />
            <button>
                {{@text}}
            </button>
        </p>
        <wbr class="444" ms-widget="{$type:'ms-button',$id:'www',onViewChange:@fn}" />
        <xmp class="ii" ms-widget="{$type:'ms-panel',$id:'ee',onViewChange:@fn}"><div>这是body</div></xmp>
        <div ms-controller="gan8" >
            <p>{{@zhaohaonan}}{{@author}}</p>
        </div>
    </div>
</body>
<script src="../Scripts/dist/avalon.js"></script>
<script>
    var vm = avalon.define({
        $id: 'for0',
        a: "青藏高原",
        text: "hello,world!",
        zhaohaonan: "赵浩楠",
        array: [1, 2, 3, 4, 5],
        fn: function (a) {
            console.log(a)
        }
    })
    var its = avalon.define({
        $id: 'gan8',
        author: 'zhn',
        k_text:"水瓶座"
    })
 </script>
</html>
